﻿var Cat = new Class({
    initialize: function (name) {
        this.name = name;
    }
});

var cat = new Cat("kitty");